package com.douyin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.douyin.dto.CommentAddDto;
import com.douyin.dto.Result;
import com.douyin.entity.Comments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.douyin.vo.CommentVO;

import java.util.List;

/**
 * <p>
 * 视频评论表 服务类
 * </p>
 *
 * @author k
 * @since 2025-07-27
 */
public interface CommentsService extends IService<Comments> {

    Result addComment(CommentAddDto commentAddDto);




    IPage<CommentVO> getTopComments(IPage<CommentVO> page, Long videoId, Long currentUserId);

    List<CommentVO> getAllReplies(Long commentId, Long currentUserId,Long videoId);
}
